from ensurepip import version
from server.models import Server
from .models import ReleaseInfo, BuildRecord


def remote_build(server_id, build: BuildRecord, release_info: ReleaseInfo):
    s = Server.objects.get(id=server_id)

    raise NotImplemented('The build command has not be implemented.')
    # use the frontend backend hash ...
    print('make the call...')

    # use the remote folder ...
    print('remove build...')

    build.status = 3
